package com.sdy.healthcode.h5.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel(value = "用户信息")
public class UserInfoVO {
    @ApiModelProperty(value = "ID")
    private Integer id;
    
    @ApiModelProperty(value = "姓名")
    private String name;
    
    @ApiModelProperty(value = "手机号")
    private String phone;
    
    @ApiModelProperty(value = "用户类型 1-普通用户 2-一线人员 3-管理人员", allowableValues = "1,2,3")
    private Integer type;

    @ApiModelProperty(value = "一线扫码权限 0-无 1-有", allowableValues = "0,1")
    private Integer authScan;

    @ApiModelProperty(value = "驾驶舱权限 0-无 1-有", allowableValues = "0,1")
    private Integer authCockpit;
}
